package com.ellricky.baselib.entity.course;


import com.andr.common.http.util.JsonUtil;

import java.io.Serializable;

public class CourseFileEntity implements Serializable {
    private static final long serialVersionUID = -3371670486784016117L;
    // 课时数
    private String classNum;
    // 课件id
    private String classFileId;
    // 课件名称
    private String classFileName;

    public CourseFileEntity(String classNum, String classFileId, String classFileName) {
        this.classNum = classNum;
        this.classFileId = classFileId;
        this.classFileName = classFileName;
    }

    public CourseFileEntity(String classNum, String classFileId) {
        this.classNum = classNum;
        this.classFileId = classFileId;
    }

    public String toJson() {
        CourseFileEntity entity = new CourseFileEntity(this.classNum, this.classFileId);
        return JsonUtil.toJson(entity);
    }

    public String getClassNum() {
        return classNum;
    }

    public void setClassNum(String classNum) {
        this.classNum = classNum;
    }

    public String getClassFileId() {
        return classFileId;
    }

    public void setClassFileId(String classFileId) {
        this.classFileId = classFileId;
    }

    public String getClassFileName() {
        return classFileName;
    }

    public void setClassFileName(String classFileName) {
        this.classFileName = classFileName;
    }
}